﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="DisplayFileLineComments.aspx.cs" Inherits="CodeDemon.Views.Review.DisplayFileLineComments" %>

<% var fc = from ReviewFileComment in ViewData.Model.DAO.GetReviewCommentsByReviewFileIdAndLine(ViewData.Model.CurrentReviewFileID, ViewData.Model.CurrentLineNumber) select ReviewFileComment; %>

<% foreach( var c in fc) {
       
        %>
        
        <div class="reviewComment linereviewComment sev<%= c.SeverityName %>">
             <a name="<%= c.ReviewFileCommentID %>"><span class='commentDetails linecommentDetails'><%= c.ReviewUserEmail %> on <%= c.CommentTimestamp %>&nbsp;&nbsp;<img src="/CodeDemon/Content/P<%= c.Priority %>.gif" alt="Priority <%= c.Priority %>" />&nbsp;&nbsp;SEV:<%= c.SeverityName %></span><span>&nbsp;[<a class="perma" href="/CodeDemon/Review/DisplayReviewFileSingle?reviewFileID=<%= c.ReviewFileID %>#<%= c.ReviewFileCommentID %>">#Link</a>]</span>
            <div class='commentText linecommentText'><%=c.CommentText %></div>
        </div>
        
        <%} %>
        <span></span>